<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    //返回主机绝对根目录
//    String path = request.getContextPath();
//    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

    //返回主机目录
    pageContext.setAttribute("basePath",request.getContextPath());
%>
<html>
<head>
    <title>Title</title>
</head>


<%--<link rel="stylesheet" type="text/css" href="<%=basePath%>/res/css/bootstrap.min.css">--%>
<%--<script type="text/javascript" src="<%=basePath%>/res/js/jquery-3.3.1.min.js"></script>--%>
<%--<script type="text/javascript" src="<%=basePath%>/res/js/bootstrap.min.js"></script>--%>


<link rel="stylesheet" type="text/css" href="${basePath}/res/css/bootstrap.min.css">
<script type="text/javascript" src="${basePath}/res/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="${basePath}/res/js/bootstrap.min.js"></script>
<style>
    form{

        margin-left: 8vw;
    }
    h3{
        margin-left: 3.5vw;
        margin-top: 12vh;
    }
    .form-control:focus{
        box-shadow: none;
    }
    .btn{
        margin-top: 2vh;

    }
    #a{
        color: #007bff;
    }

</style>
<html>
<head>
    <title>Title</title>
</head>
<body>
<ul class="list-group">
    <s:iterator value="list">
    <li class="list-group-item"><s:property value="username"></s:property><p>
        <s:property value="password"></s:property></p></li>
    </s:iterator>
    <<a href="login_toaddUser">添加用户</a>
</ul>
</body>
</html>
